package com.jbit.userserver.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.jbit.userserver.model.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2023-12-18
 */
public interface UserMapper extends MPJBaseMapper<User> {
    @Select("SELECT JU.id,JU.username,JU.password,JU.tenant_id,JU.status FROM jsh_user JU where JU.login_name = #{loginName}")
    User login(String loginName);
}
